package com.jianbing.north.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jianbing.common.annotation.Excel;

import java.util.Date;

/**
 * @author zheng
 */
public class NorthP3DailyDto {

    @Excel(name = "用户ID")
    private Long userId;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "游戏日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date playDay;

    @JsonFormat(pattern = "HH:mm:ss")
    @Excel(name = "游戏时长", width = 30, dateFormat = "yyyy-MM-dd")
    private Date playDuration;

    @Excel(name = "段落数")
    private Long counts;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Date getPlayDay() {
        return playDay;
    }

    public void setPlayDay(Date playDay) {
        this.playDay = playDay;
    }

    public Date getPlayDuration() {
        return playDuration;
    }

    public void setPlayDuration(Date playDuration) {
        this.playDuration = playDuration;
    }

    public Long getCounts() {
        return counts;
    }

    public void setCounts(Long counts) {
        this.counts = counts;
    }

    @Override
    public String toString() {
        return "NorthP3DailyDto{" +
                "userId=" + userId +
                ", playDay='" + playDay + '\'' +
                ", playDuration='" + playDuration + '\'' +
                ", counts=" + counts +
                '}';
    }
}
